home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 76 / DVD Actual 1 Marzo 2003.iso / Trial / TurboCAD 7.1 Pro / Data.Cab / F29022_ViewWnd.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-10  |  2.3 KB  |  86 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 1999                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10. #if !defined(AFX_VIEWWND_H__101E4613_73CC_11D2_82DA_006052012837__INCLUDED_)
  11. #define AFX_VIEWWND_H__101E4613_73CC_11D2_82DA_006052012837__INCLUDED_
  12.  
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. // ViewWnd.h : header file
  17. //
  18.  
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CViewWnd window
  21.  
  22. class CViewWnd : public CWnd
  23. {
  24. // Construction
  25. public:
  26.     CViewWnd();
  27.  
  28. // Attributes
  29. public:
  30.     IDrawing *m_pPreviewDrawing;
  31.     View *m_pPreviewView;
  32.  
  33.     IGraphic *m_pPreviewGraphic;
  34.     Graphics *m_pPreviewGrs;/// = NULL;
  35.     
  36.     Views *m_pViewsCol;
  37.     IApplication *m_pIApp;/// = NULL;
  38.     Drawings *m_pDrawCol;
  39.  
  40.  
  41.     BOOL    m_FirstStart;
  42.     APPDRAWINGNEWEX m_pfAppDwgNew;
  43.     APPGETCURRENTAPP m_pfGetApp;
  44.     long m_lApp;
  45.     long m_lDwg;
  46.     CString m_cstrSelected;
  47.  
  48.  
  49. // Operations
  50. public:
  51.  
  52. // Overrides
  53.     // ClassWizard generated virtual function overrides
  54.     //{{AFX_VIRTUAL(CViewWnd)
  55.     //}}AFX_VIRTUAL
  56.  
  57. // Implementation
  58.     // Zoom to the extents of the drawing and refresh the window
  59.     void ZoomAndInvalidate();
  60.  
  61.  
  62.  
  63. public:
  64.     void DoPreview();
  65.     void ClearAll();
  66.     void Clear();
  67.     void DisplayPreview();
  68.     void CreatePreview();
  69.     virtual ~CViewWnd();
  70.  
  71.     // Generated message map functions
  72. protected:
  73.     //{{AFX_MSG(CViewWnd)
  74.     afx_msg void OnPaint();
  75.     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  76.     //}}AFX_MSG
  77.     DECLARE_MESSAGE_MAP()
  78. };
  79.  
  80. /////////////////////////////////////////////////////////////////////////////
  81.  
  82. //{{AFX_INSERT_LOCATION}}
  83. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  84.  
  85. #endif // !defined(AFX_VIEWWND_H__101E4613_73CC_11D2_82DA_006052012837__INCLUDED_)
  86.